package com.hhq.system.model.form;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Getter;
import lombok.Setter;

@Schema(description = "租户表单对象")
@Getter
@Setter
public class TenantForm {

    @Schema(description = "租户ID", example = "1001")
    private Long id;

    @Schema(description = "租户名称", example = "租户")
    @NotNull(message = "租户名称不能为空")
    private String name;
}
